<template>
	<view @tap.stop v-if="stop">
		<slot></slot>
	</view>
	<view v-else>
		<slot></slot>
	</view>
</template>

<script lang="ts">
	import { defineComponent } from 'vue'
	import mpMixin from '../../libs/mixin/mpMixin'
	export default defineComponent({
		name: 'prevent-view',
		mixins: [mpMixin]
	})
</script>
<script lang="ts" setup>
	const props = defineProps({
		stop:Boolean
	})
</script>

<style>
</style>